<!DOCTYPE html>
<html lang="en">
<head>

	<meta charset="utf-8">
	<meta http-equiv="refresh" content="2;URL=<?php echo base_url();?>index.php/adminPageController/">
	<title>Error</title>
	<link rel="stylesheet" href="<?php echo base_url();?>application/development-bundle/themes/swanky-purse/jquery.ui.all.css">
	<link rel="stylesheet" href="<?php echo base_url();?>application/development-bundle/demos/demos.css">
	<link rel="stylesheet" href="<?php echo base_url();?>application/css/style.css">
	<script src="<?php echo base_url();?>application/development-bundle/jquery-1.4.4.js"></script>
	<script src="<?php echo base_url();?>application/development-bundle/ui/jquery.ui.core.js"></script>
	<script src="<?php echo base_url();?>application/development-bundle/ui/jquery.ui.widget.js"></script>
	<script src="<?php echo base_url();?>application/development-bundle/ui/jquery.ui.accordion.js"></script>
	<script src="<?php echo base_url();?>application/development-bundle/ui/jquery.ui.tabs.js"></script>
	<script src="<?php echo base_url();?>application/development-bundle/ui/jquery.ui.datepicker.js"></script>
	
	<script>
	$(function() {
		$( "#navigation" ).accordion({
			autoHeight: false,
			collapsible: true
		});
	});
	</script>
	
	<script>
	$(function() {
		$( "#tabs" ).tabs();
	});
	</script>

</head>

<body>

<div class="demo">
	
	<div id="header"><h1>ACCI eXtreme Information System</h1></div>
	
	<div id="tabs">
	
		<ul>
			<li><a href="#tabs-1">Home</a></li>
			<li><a href="#tabs-2">Contact</a></li>
			<li><a href="#tabs-3">Developer</a></li>
		</ul>
		
		<div id="tabs-1">
		
			<table>
			<tr>
				<td>
					<div id="content"><h3><?php echo $message;?></h3></div><!-- End content -->
					<br/>
				</td>
				
				<td>
					<div id="navigation">
					
						<h3><a href="#section1">Residents</a></h3>
						<div>
							Functionalities:<br/>
							<ul>
								<li><?php echo anchor('residentController/loadAddResidentView/','Add a Resident')?><br/></li>
								<li><?php echo anchor('residentController/loadResidentToSearchView/','Search a Resident')?><br/></li>
							</ul>
						</div>
						
						<h3><a href="#section2">Reports</a></h3>
						<div>
							Functionalities:<br/>
							<ul>
								<li><?php echo anchor('reportController/loadView/','Accomodation Tally')?><br/></li>
								<li><?php echo anchor('reportController/loadView/','Vacancy Tally')?><br/></li>
								<li><?php echo anchor('reportController/loadView/','Tally per Classification')?><br/></li>
								<li><?php echo anchor('reportController/loadView/','Tally per College')?><br/></li>
								<li><?php echo anchor('reportController/loadView/','Tally per Regional Distribution')?><br/></li>
							</ul>
						</div>
						
					</div><!-- End navigation -->
				</td>
			</tr>
			</table>
			
		</div><!-- End tabs-1 -->
		
		<div id="tabs-2"><p>Morbi tincidunt</p></div><!-- End tabs-2 -->
		
		<div id="tabs-3"><p>Mauris eleifend</p></div><!-- End tabs-3 -->
		
	</div><!-- End tabs -->
					
</div><!-- End demo -->

</body>
</html>